package com.tm.chargecar.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tm.chargecar.entity.OperationLogEntity;
import com.tm.chargecar.mapper.LogMapper;
import com.tm.chargecar.service.LogService;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl extends ServiceImpl<LogMapper, OperationLogEntity> implements LogService {
    @Override
    public void addUser(OperationLogEntity operationLogEntity) {
        operationLogEntity.setStatus(1);
        operationLogEntity.setOperatorId(111);

        baseMapper.addLog(operationLogEntity);
    }
}
